package com.awn.weidian.demo.mapper;

import com.awn.weidian.demo.pojo.UserEntity;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;


@Repository
public interface UserDao extends CrudRepository<UserEntity,Long>{

    public UserEntity findByUsernameAndPassword(String username, String password);

}
